package com.sunny.ynhz.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/7/13/013.
 */

public class RiverLogBean {

    /**
     * data : [{"child":[{"position":"天河区广园快速路","addvcd":"440106000000","state":"1","type":"67ca04a8-7d11-43ce-b38e-a675ae2221au","ispatrol":"1","lttd":0,"id":"67ca04a8-7d11-43ce-b38e-a675ae2221au","picture":"FileUploadpath/20170723223116467.jpg;FileUploadpath/20170723223118686.jpg;FileUploadpath/20170723223120436.jpg;","time":"2017-07-23 22:31:20","lgtd":0,"name":"是否存在其他影响河湖水质、安全的问题","describe":"鉴于规划活动的目的在与\u201c协调城乡空间布局\u201d，在规划控制角度的建设活动，\u201c违法建设应当是指影响城乡空间布局的活动。规划控制所称的空间布局，应当是指建设物和构筑物的空间布局","userId":"1","pro_resource":"河长上报","promatterName":"是否存在其他影响河湖水质、安全的问题","cuur_userId":"e837c268510b46079a3b7ef0f052d908,","patrolid":"b57a5350-1ddf-4b5b-80e5-6036e2f5d3a1","problemid":"c5589116-aa21-41a2-b2ff-5a233d45204c"},{"position":"天河区广园快速路","addvcd":"440106000000","state":"2","type":"67ca04a8-7d11-43ce-b38e-a675ae2221au","ispatrol":"1","lttd":0,"id":"67ca04a8-7d11-43ce-b38e-a675ae2221au","picture":"FileUploadpath/20170723223116467.jpg;FileUploadpath/20170723223118686.jpg;FileUploadpath/20170723223120436.jpg;","time":"2017-07-23 22:31:20","lgtd":0,"name":"是否存在其他影响河湖水质、安全的问题","describe":"鉴于规划活动的目的在与\u201c协调城乡空间布局\u201d，在规划控制角度的建设活动，\u201c违法建设应当是指影响城乡空间布局的活动。规划控制所称的空间布局，应当是指建设物和构筑物的空间布局","userId":"1","pro_resource":"河长上报","promatterName":"是否存在其他影响河湖水质、安全的问题","cuur_userId":"e837c268510b46079a3b7ef0f052d908,","patrolid":"b57a5350-1ddf-4b5b-80e5-6036e2f5d3a1","problemid":"c5589116-aa21-41a2-b2ff-5a233d45206c"},{"position":"天河区广园快速路","addvcd":"440106000000","state":"2","type":"67ca04a8-7d11-43ce-b38e-a675ae2221au","ispatrol":"1","lttd":0,"id":"67ca04a8-7d11-43ce-b38e-a675ae2221au","picture":"FileUploadpath/20170723223116467.jpg;FileUploadpath/20170723223118686.jpg;FileUploadpath/20170723223120436.jpg;","time":"2017-07-23 22:31:20","lgtd":0,"name":"是否存在其他影响河湖水质、安全的问题","describe":"鉴于规划活动的目的在与\u201c协调城乡空间布局\u201d，在规划控制角度的建设活动，\u201c违法建设应当是指影响城乡空间布局的活动。规划控制所称的空间布局，应当是指建设物和构筑物的空间布局","userId":"1","pro_resource":"河长上报","promatterName":"是否存在其他影响河湖水质、安全的问题","cuur_userId":"e837c268510b46079a3b7ef0f052d908,","patrolid":"b57a5350-1ddf-4b5b-80e5-6036e2f5d3a1","problemid":"c5589116-aa21-41a2-b2ff-5a233d45237c"},{"position":"天河区广园快速路","addvcd":"440106000000","state":"1","type":"67ca04a8-7d11-43ce-b38e-a675ae2221au","ispatrol":"1","lttd":0,"id":"67ca04a8-7d11-43ce-b38e-a675ae2221au","picture":"FileUploadpath/20170723223116467.jpg;FileUploadpath/20170723223118686.jpg;FileUploadpath/20170723223120436.jpg;","time":"2017-07-23 22:31:20","lgtd":0,"name":"是否存在其他影响河湖水质、安全的问题","describe":"鉴于规划活动的目的在与\u201c协调城乡空间布局\u201d，在规划控制角度的建设活动，\u201c违法建设应当是指影响城乡空间布局的活动。规划控制所称的空间布局，应当是指建设物和构筑物的空间布局","userId":"1","pro_resource":"河长上报","promatterName":"是否存在其他影响河湖水质、安全的问题","cuur_userId":"e837c268510b46079a3b7ef0f052d908,","patrolid":"b57a5350-1ddf-4b5b-80e5-6036e2f5d3a1","problemid":"c5589116-aa21-41a2-b2ff-5a233d45207c"}],"id":"67ca04a8-7d11-43ce-b38e-a675ae2221au","name":"是否存在其他影响河湖水质、安全的问题"},{"child":[],"id":"67ca04a8-7d11-43ce-b38e-a675ae2221ar","name":"以前巡河发现的问题是否解决、解决的问题是否出现反弹或存在反弹迹象"},{"child":[],"id":"67ca04a8-7d11-43ce-b38e-a675ae2221eb","name":"河底有无明显污泥或垃圾淤积"},{"child":[],"id":"67ca04a8-7d11-43ce-b38e-a675ae2221aa","name":"水体有无明显异味，颜色是否异常"},{"child":[],"id":"67ca04a8-7d11-43ce-b38e-a675ae2221ah","name":"沿岸挂管（线）是否规整有序"},{"child":[],"id":"67ca04a8-7d11-43ce-b38e-a675ae2221ag","name":"在河湖管理范围内是否存在违法建（构）筑物、违法堆场、违法采砂、畜禽养殖等问题"},{"child":[],"id":"67ca04a8-7d11-43ce-b38e-a675ae2221af","name":"河湖沿岸餐饮服务业、工业企业、农业养殖、居民等是否存在直排废水污水；是否在倾倒垃圾、余泥渣土、建筑废弃物等行为"},{"child":[],"id":"67ca04a8-7d11-43ce-b38e-a675ae2221as","name":"水生植物是否正常生长，有无腐败情况"},{"child":[],"id":"67ca04a8-7d11-43ce-b38e-a675ae2221aj","name":"河长公示牌等河湖设置是否规范，信息是否准确、完整，是否在变形、损坏、变色、老化、遮盖、字体不清等问题"},{"child":[],"id":"67ca04a8-7d11-43ce-b38e-a675ae2221ao","name":"是否存在防洪排涝问题，如河道堵塞、堤岸崩塌、堤围未达设计防洪高程等安全隐患"},{"id":"67ca04a8-7d11-43ce-b38e-a675ae2221a1","name":"其它"}]
     * code : 1
     * msg : 数据删除成功！
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * child : [{"position":"天河区广园快速路","addvcd":"440106000000","state":"1","type":"67ca04a8-7d11-43ce-b38e-a675ae2221au","ispatrol":"1","lttd":0,"id":"67ca04a8-7d11-43ce-b38e-a675ae2221au","picture":"FileUploadpath/20170723223116467.jpg;FileUploadpath/20170723223118686.jpg;FileUploadpath/20170723223120436.jpg;","time":"2017-07-23 22:31:20","lgtd":0,"name":"是否存在其他影响河湖水质、安全的问题","describe":"鉴于规划活动的目的在与\u201c协调城乡空间布局\u201d，在规划控制角度的建设活动，\u201c违法建设应当是指影响城乡空间布局的活动。规划控制所称的空间布局，应当是指建设物和构筑物的空间布局","userId":"1","pro_resource":"河长上报","promatterName":"是否存在其他影响河湖水质、安全的问题","cuur_userId":"e837c268510b46079a3b7ef0f052d908,","patrolid":"b57a5350-1ddf-4b5b-80e5-6036e2f5d3a1","problemid":"c5589116-aa21-41a2-b2ff-5a233d45204c"},{"position":"天河区广园快速路","addvcd":"440106000000","state":"2","type":"67ca04a8-7d11-43ce-b38e-a675ae2221au","ispatrol":"1","lttd":0,"id":"67ca04a8-7d11-43ce-b38e-a675ae2221au","picture":"FileUploadpath/20170723223116467.jpg;FileUploadpath/20170723223118686.jpg;FileUploadpath/20170723223120436.jpg;","time":"2017-07-23 22:31:20","lgtd":0,"name":"是否存在其他影响河湖水质、安全的问题","describe":"鉴于规划活动的目的在与\u201c协调城乡空间布局\u201d，在规划控制角度的建设活动，\u201c违法建设应当是指影响城乡空间布局的活动。规划控制所称的空间布局，应当是指建设物和构筑物的空间布局","userId":"1","pro_resource":"河长上报","promatterName":"是否存在其他影响河湖水质、安全的问题","cuur_userId":"e837c268510b46079a3b7ef0f052d908,","patrolid":"b57a5350-1ddf-4b5b-80e5-6036e2f5d3a1","problemid":"c5589116-aa21-41a2-b2ff-5a233d45206c"},{"position":"天河区广园快速路","addvcd":"440106000000","state":"2","type":"67ca04a8-7d11-43ce-b38e-a675ae2221au","ispatrol":"1","lttd":0,"id":"67ca04a8-7d11-43ce-b38e-a675ae2221au","picture":"FileUploadpath/20170723223116467.jpg;FileUploadpath/20170723223118686.jpg;FileUploadpath/20170723223120436.jpg;","time":"2017-07-23 22:31:20","lgtd":0,"name":"是否存在其他影响河湖水质、安全的问题","describe":"鉴于规划活动的目的在与\u201c协调城乡空间布局\u201d，在规划控制角度的建设活动，\u201c违法建设应当是指影响城乡空间布局的活动。规划控制所称的空间布局，应当是指建设物和构筑物的空间布局","userId":"1","pro_resource":"河长上报","promatterName":"是否存在其他影响河湖水质、安全的问题","cuur_userId":"e837c268510b46079a3b7ef0f052d908,","patrolid":"b57a5350-1ddf-4b5b-80e5-6036e2f5d3a1","problemid":"c5589116-aa21-41a2-b2ff-5a233d45237c"},{"position":"天河区广园快速路","addvcd":"440106000000","state":"1","type":"67ca04a8-7d11-43ce-b38e-a675ae2221au","ispatrol":"1","lttd":0,"id":"67ca04a8-7d11-43ce-b38e-a675ae2221au","picture":"FileUploadpath/20170723223116467.jpg;FileUploadpath/20170723223118686.jpg;FileUploadpath/20170723223120436.jpg;","time":"2017-07-23 22:31:20","lgtd":0,"name":"是否存在其他影响河湖水质、安全的问题","describe":"鉴于规划活动的目的在与\u201c协调城乡空间布局\u201d，在规划控制角度的建设活动，\u201c违法建设应当是指影响城乡空间布局的活动。规划控制所称的空间布局，应当是指建设物和构筑物的空间布局","userId":"1","pro_resource":"河长上报","promatterName":"是否存在其他影响河湖水质、安全的问题","cuur_userId":"e837c268510b46079a3b7ef0f052d908,","patrolid":"b57a5350-1ddf-4b5b-80e5-6036e2f5d3a1","problemid":"c5589116-aa21-41a2-b2ff-5a233d45207c"}]
         * id : 67ca04a8-7d11-43ce-b38e-a675ae2221au
         * name : 是否存在其他影响河湖水质、安全的问题
         */

        private String id;
        private String name;
        private List<ChildBean> child;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<ChildBean> getChild() {
            return child;
        }

        public void setChild(List<ChildBean> child) {
            this.child = child;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id='" + id + '\'' +
                    ", name='" + name + '\'' +
                    ", child=" + child +
                    '}';
        }

        public static class ChildBean implements Parcelable {
            public ChildBean() {

            }
            /**
             * position : 天河区广园快速路
             * addvcd : 440106000000
             * state : 1
             * type : 67ca04a8-7d11-43ce-b38e-a675ae2221au
             * ispatrol : 1
             * lttd : 0
             * id : 67ca04a8-7d11-43ce-b38e-a675ae2221au
             * picture : FileUploadpath/20170723223116467.jpg;FileUploadpath/20170723223118686.jpg;FileUploadpath/20170723223120436.jpg;
             * time : 2017-07-23 22:31:20
             * lgtd : 0
             * name : 是否存在其他影响河湖水质、安全的问题
             * describe : 鉴于规划活动的目的在与“协调城乡空间布局”，在规划控制角度的建设活动，“违法建设应当是指影响城乡空间布局的活动。规划控制所称的空间布局，应当是指建设物和构筑物的空间布局
             * userId : 1
             * pro_resource : 河长上报
             * promatterName : 是否存在其他影响河湖水质、安全的问题
             * cuur_userId : e837c268510b46079a3b7ef0f052d908,
             * patrolid : b57a5350-1ddf-4b5b-80e5-6036e2f5d3a1
             * problemid : c5589116-aa21-41a2-b2ff-5a233d45204c
             */

            private String position;
            private String addvcd;
            private String state;
            private String type;
            private String ispatrol;
            private Double lttd;
            private String id;
            private String picture;
            private String time;
            private Double lgtd;
            private String name;
            private String describe;
            private String userId;
            private String pro_resource;
            private String promatterName;
            private String cuur_userId;
            private String patrolid;
            private String problemid;

            public ChildBean(Parcel in) {
                position = in.readString();
                addvcd = in.readString();
                state = in.readString();
                type = in.readString();
                ispatrol = in.readString();
                id = in.readString();
                picture = in.readString();
                time = in.readString();
                name = in.readString();
                describe = in.readString();
                userId = in.readString();
                pro_resource = in.readString();
                promatterName = in.readString();
                cuur_userId = in.readString();
                patrolid = in.readString();
                problemid = in.readString();
                video = in.readString();
                nativeprocessing = in.readString();
                imagePaths = in.createStringArrayList();
                lttd = in.readDouble();
                lgtd = in.readDouble();
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(position);
                dest.writeString(addvcd);
                dest.writeString(state);
                dest.writeString(type);
                dest.writeString(ispatrol);
                dest.writeString(id);
                dest.writeString(picture);
                dest.writeString(time);
                dest.writeString(name);
                dest.writeString(describe);
                dest.writeString(userId);
                dest.writeString(pro_resource);
                dest.writeString(promatterName);
                dest.writeString(cuur_userId);
                dest.writeString(patrolid);
                dest.writeString(problemid);
                dest.writeString(video);
                dest.writeString(nativeprocessing);
                dest.writeStringList(imagePaths);
                dest.writeDouble(lttd);
                dest.writeDouble(lgtd);
            }

            public static final Creator<ChildBean> CREATOR = new Creator<ChildBean>() {
                @Override
                public ChildBean createFromParcel(Parcel in) {
                    return new ChildBean(in);
                }

                @Override
                public ChildBean[] newArray(int size) {
                    return new ChildBean[size];
                }
            };

            public String getVideo() {
                return video;
            }

            public void setVideo(String video) {
                this.video = video;
            }

            public String getNativeprocessing() {
                return nativeprocessing;
            }

            public void setNativeprocessing(String nativeprocessing) {
                this.nativeprocessing = nativeprocessing;
            }

            private String video;
            private String nativeprocessing;


            public ArrayList<String> getImagePaths() {
                return imagePaths;
            }

            public void setImagePaths(ArrayList<String> imagePaths) {
                this.imagePaths = imagePaths;
            }


            /**
             * 图片路径（只用于本地）
             */
            private ArrayList<String> imagePaths;


            public String getPosition() {
                return position;
            }

            public void setPosition(String position) {
                this.position = position;
            }

            public String getAddvcd() {
                return addvcd;
            }

            public void setAddvcd(String addvcd) {
                this.addvcd = addvcd;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getIspatrol() {
                return ispatrol;
            }

            public void setIspatrol(String ispatrol) {
                this.ispatrol = ispatrol;
            }

            public Double getLttd() {
                return lttd;
            }

            public void setLttd(Double lttd) {
                this.lttd = lttd;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public Double getLgtd() {
                return lgtd;
            }

            public void setLgtd(Double lgtd) {
                this.lgtd = lgtd;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDescribe() {
                return describe;
            }

            public void setDescribe(String describe) {
                this.describe = describe;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getPro_resource() {
                return pro_resource;
            }

            public void setPro_resource(String pro_resource) {
                this.pro_resource = pro_resource;
            }

            public String getPromatterName() {
                return promatterName;
            }

            public void setPromatterName(String promatterName) {
                this.promatterName = promatterName;
            }

            public String getCuur_userId() {
                return cuur_userId;
            }

            public void setCuur_userId(String cuur_userId) {
                this.cuur_userId = cuur_userId;
            }

            public String getPatrolid() {
                return patrolid;
            }

            public void setPatrolid(String patrolid) {
                this.patrolid = patrolid;
            }

            public String getProblemid() {
                return problemid;
            }

            public void setProblemid(String problemid) {
                this.problemid = problemid;
            }

            @Override
            public String toString() {
                return "ChildBean{" +
                        "position='" + position + '\'' +
                        ", addvcd='" + addvcd + '\'' +
                        ", state='" + state + '\'' +
                        ", type='" + type + '\'' +
                        ", ispatrol='" + ispatrol + '\'' +
                        ", lttd=" + lttd +
                        ", id='" + id + '\'' +
                        ", picture='" + picture + '\'' +
                        ", time='" + time + '\'' +
                        ", lgtd=" + lgtd +
                        ", name='" + name + '\'' +
                        ", describe='" + describe + '\'' +
                        ", userId='" + userId + '\'' +
                        ", pro_resource='" + pro_resource + '\'' +
                        ", promatterName='" + promatterName + '\'' +
                        ", cuur_userId='" + cuur_userId + '\'' +
                        ", patrolid='" + patrolid + '\'' +
                        ", problemid='" + problemid + '\'' +
                        '}';
            }

            @Override
            public int describeContents() {
                return 0;
            }


        }
    }
}
